package com.chenfan.filestore.model.dto;

import com.chenfan.filestore.vo.ImportResultVO;
import com.chenfan.filestore.model.BatchImportTemplate;
import com.chenfan.filestore.model.Task;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
import java.util.Map;

/**
 * @author K
 * @date 2023/6/5 4:45 PM
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ParseExcelDTO {

    private BatchImportTemplate batchImportTemplate;

    /**
     * 任务信息
     */
    private Task task;

    /**
     * 步骤1 -> 提取excel原始数据
     */
//    private List<Map<String, Object>> list;

    /**
     * 步骤2 -> excel转换为业务数据
     */
    private List<Map<String, Object>> sendToBusinessList;

    /**
     * 调用接口返回的结果
     */
    private List<ImportResultVO> resultList;

    Map<String, Map<String, String>> rowMap;

    Map<String, String> headerMap;
}
